import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
! pip install plotly.express
Collecting plotly.express Downloading plotly_express-0.4.1-py2.py3-none-any.whl (2.9 kB) Requirement already satisfied: scipy>=0.18 in c:\users\personal\appdata\local\programs\python\python39\lib\site-packages (from plotly.express) (1.6.1) Collecting patsy>=0.5 Downloading patsy-0.5.1-py2.py3-none-any.whl (231 kB) Requirement already satisfied: pandas>=0.20.0 in c:\users\personal\appdata\local\programs\python\python39\lib\site-packages (from plotly.express) (1.2.3) Collecting plotly>=4.1.0 Using cached plotly-4.14.3-py2.py3-none-any.whl (13.2 MB) Requirement already satisfied: numpy>=1.11 in c:\users\personal\appdata\local\programs\python\python39\lib\site-packages (from plotly.express) (1.20.1) Collecting statsmodels>=0.9.0 Downloading statsmodels-0.12.2-cp39-none-win_amd64.whl (9.4 MB) Requirement already satisfied: python-dateutil>=2.7.3 in c:\users\personal\appdata\local\programs\python\python39\lib\site-packages (from pandas>=0.20.0->plotly.express) (2.8.1) Requirement already satisfied: pytz>=2017.3 in c:\users\personal\appdata\local\programs\python\python39\lib\site-packages (from pandas>=0.20.0->plotly.express) (2021.1) Requirement already satisfied: six in c:\users\personal\appdata\local\programs\python\python39\lib\site-packages (from patsy>=0.5->plotly.express) (1.15.0) Collecting retrying>=1.3.3 Using cached retrying-1.3.3.tar.gz (10 kB) Building wheels for collected packages: retrying Building wheel for retrying (setup.py): started Building wheel for retrying (setup.py): finished with status 'done' Created wheel for retrying: filename=retrying-1.3.3-py3-none-any.whl size=11429 sha256=147eb3037c4be960dda25e8a288106df426173095e7e67fa066ff100d5d52cfa Stored in directory: c:\users\personal\appdata\local\pip\cache\wheels\ce\18\7f\e9527e3e66db1456194ac7f61eb3211068c409edceecff2d31 Successfully built retrying Installing collected packages: retrying, patsy, statsmodels, plotly, plotly.express Successfully installed patsy-0.5.1 plotly-4.14.3 plotly.express retrying-1.3.3 statsmodels-0.12.2
import plotly.express as px
! pip install xlrd
Collecting xlrd Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB) Installing collected packages: xlrd Successfully installed xlrd-2.0.1
! pip install openpyxl
Collecting openpyxl Downloading openpyxl-3.0.7-py2.py3-none-any.whl (243 kB) Collecting et-xmlfile Downloading et_xmlfile-1.0.1.tar.gz (8.4 kB) Building wheels for collected packages: et-xmlfile Building wheel for et-xmlfile (setup.py): started Building wheel for et-xmlfile (setup.py): finished with status 'done' Created wheel for et-xmlfile: filename=et_xmlfile-1.0.1-py3-none-any.whl size=8913 sha256=2472df13c1ac2b58148343d3990ad79d749d8eb5c047d7eee01f79f0203f9547 Stored in directory: c:\users\personal\appdata\local\pip\cache\wheels\bb\9b\ff\8fdf015c95a57224237bf88fbb9e45237cbe8177213bc13732 Successfully built et-xmlfile Installing collected packages: et-xmlfile, openpyxl Successfully installed et-xmlfile-1.0.1 openpyxl-3.0.7
df = pd.read_excel(r'C:\Users\Personal\Desktop\TASKS\TASK- II EDA ON AMCAT DATA\data.xlsx')
df
| Unnamed: 0 | ID | Salary | DOJ | DOL | Designation | JobCity | Gender | DOB | 10percentage | ... | ComputerScience | MechanicalEngg | ElectricalEngg | TelecomEngg | CivilEngg | conscientiousness | agreeableness | extraversion | nueroticism | openess_to_experience | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | train | 203097 | 420000 | 2012-06-01 | present | senior quality engineer | Bangalore | f | 1990-02-19 | 84.30 | ... | -1 | -1 | -1 | -1 | -1 | 0.9737 | 0.8128 | 0.5269 | 1.35490 | -0.4455 |
| 1 | train | 579905 | 500000 | 2013-09-01 | present | assistant manager | Indore | m | 1989-10-04 | 85.40 | ... | -1 | -1 | -1 | -1 | -1 | -0.7335 | 0.3789 | 1.2396 | -0.10760 | 0.8637 |
| 2 | train | 810601 | 325000 | 2014-06-01 | present | systems engineer | Chennai | f | 1992-08-03 | 85.00 | ... | -1 | -1 | -1 | -1 | -1 | 0.2718 | 1.7109 | 0.1637 | -0.86820 | 0.6721 |
| 3 | train | 267447 | 1100000 | 2011-07-01 | present | senior software engineer | Gurgaon | m | 1989-12-05 | 85.60 | ... | -1 | -1 | -1 | -1 | -1 | 0.0464 | 0.3448 | -0.3440 | -0.40780 | -0.9194 |
| 4 | train | 343523 | 200000 | 2014-03-01 | 2015-03-01 00:00:00 | get | Manesar | m | 1991-02-27 | 78.00 | ... | -1 | -1 | -1 | -1 | -1 | -0.8810 | -0.2793 | -1.0697 | 0.09163 | -0.1295 |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 3993 | train | 47916 | 280000 | 2011-10-01 | 2012-10-01 00:00:00 | software engineer | New Delhi | m | 1987-04-15 | 52.09 | ... | -1 | -1 | -1 | -1 | -1 | -0.1082 | 0.3448 | 0.2366 | 0.64980 | -0.9194 |
| 3994 | train | 752781 | 100000 | 2013-07-01 | 2013-07-01 00:00:00 | technical writer | Hyderabad | f | 1992-08-27 | 90.00 | ... | -1 | -1 | -1 | -1 | -1 | -0.3027 | 0.8784 | 0.9322 | 0.77980 | -0.0943 |
| 3995 | train | 355888 | 320000 | 2013-07-01 | present | associate software engineer | Bangalore | m | 1991-07-03 | 81.86 | ... | -1 | -1 | -1 | -1 | -1 | -1.5765 | -1.5273 | -1.5051 | -1.31840 | -0.7615 |
| 3996 | train | 947111 | 200000 | 2014-07-01 | 2015-01-01 00:00:00 | software developer | Asifabadbanglore | f | 1992-03-20 | 78.72 | ... | 438 | -1 | -1 | -1 | -1 | -0.1590 | 0.0459 | -0.4511 | -0.36120 | -0.0943 |
| 3997 | train | 324966 | 400000 | 2013-02-01 | present | senior systems engineer | Chennai | f | 1991-02-26 | 70.60 | ... | -1 | -1 | -1 | -1 | -1 | -1.1128 | -0.2793 | -0.6343 | 1.32553 | -0.6035 |
3998 rows × 39 columns
Observation : There are 3998 data of the people which contains the Gender, Designation, Salary, Location, Percentage of 10th, 12th and B.Tech including with College Tier -Specialization, etc things
df.describe(include='all')
<ipython-input-20-174ba9bf1a5c>:1: FutureWarning: Treating datetime data as categorical rather than numeric in `.describe` is deprecated and will be removed in a future version of pandas. Specify `datetime_is_numeric=True` to silence this warning and adopt the future behavior now. df.describe(include='all') <ipython-input-20-174ba9bf1a5c>:1: FutureWarning: Treating datetime data as categorical rather than numeric in `.describe` is deprecated and will be removed in a future version of pandas. Specify `datetime_is_numeric=True` to silence this warning and adopt the future behavior now. df.describe(include='all')
| Unnamed: 0 | ID | Salary | DOJ | DOL | Designation | JobCity | Gender | DOB | 10percentage | ... | ComputerScience | MechanicalEngg | ElectricalEngg | TelecomEngg | CivilEngg | conscientiousness | agreeableness | extraversion | nueroticism | openess_to_experience | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| count | 3998 | 3.998000e+03 | 3.998000e+03 | 3998 | 3998 | 3998 | 3998 | 3998 | 3998 | 3998.000000 | ... | 3998.000000 | 3998.000000 | 3998.000000 | 3998.000000 | 3998.000000 | 3998.000000 | 3998.000000 | 3998.000000 | 3998.000000 | 3998.000000 |
| unique | 1 | NaN | NaN | 81 | 67 | 419 | 339 | 2 | 1872 | NaN | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| top | train | NaN | NaN | 2014-07-01 00:00:00 | present | software engineer | Bangalore | m | 1991-01-01 00:00:00 | NaN | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| freq | 3998 | NaN | NaN | 199 | 1875 | 539 | 627 | 3041 | 11 | NaN | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| first | NaN | NaN | NaN | 1991-06-01 00:00:00 | NaN | NaN | NaN | NaN | 1977-10-30 00:00:00 | NaN | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| last | NaN | NaN | NaN | 2015-12-01 00:00:00 | NaN | NaN | NaN | NaN | 1997-05-27 00:00:00 | NaN | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| mean | NaN | 6.637945e+05 | 3.076998e+05 | NaN | NaN | NaN | NaN | NaN | NaN | 77.925443 | ... | 90.742371 | 22.974737 | 16.478739 | 31.851176 | 2.683842 | -0.037831 | 0.146496 | 0.002763 | -0.169033 | -0.138110 |
| std | NaN | 3.632182e+05 | 2.127375e+05 | NaN | NaN | NaN | NaN | NaN | NaN | 9.850162 | ... | 175.273083 | 98.123311 | 87.585634 | 104.852845 | 36.658505 | 1.028666 | 0.941782 | 0.951471 | 1.007580 | 1.008075 |
| min | NaN | 1.124400e+04 | 3.500000e+04 | NaN | NaN | NaN | NaN | NaN | NaN | 43.000000 | ... | -1.000000 | -1.000000 | -1.000000 | -1.000000 | -1.000000 | -4.126700 | -5.781600 | -4.600900 | -2.643000 | -7.375700 |
| 25% | NaN | 3.342842e+05 | 1.800000e+05 | NaN | NaN | NaN | NaN | NaN | NaN | 71.680000 | ... | -1.000000 | -1.000000 | -1.000000 | -1.000000 | -1.000000 | -0.713525 | -0.287100 | -0.604800 | -0.868200 | -0.669200 |
| 50% | NaN | 6.396000e+05 | 3.000000e+05 | NaN | NaN | NaN | NaN | NaN | NaN | 79.150000 | ... | -1.000000 | -1.000000 | -1.000000 | -1.000000 | -1.000000 | 0.046400 | 0.212400 | 0.091400 | -0.234400 | -0.094300 |
| 75% | NaN | 9.904800e+05 | 3.700000e+05 | NaN | NaN | NaN | NaN | NaN | NaN | 85.670000 | ... | -1.000000 | -1.000000 | -1.000000 | -1.000000 | -1.000000 | 0.702700 | 0.812800 | 0.672000 | 0.526200 | 0.502400 |
| max | NaN | 1.298275e+06 | 4.000000e+06 | NaN | NaN | NaN | NaN | NaN | NaN | 97.760000 | ... | 715.000000 | 623.000000 | 676.000000 | 548.000000 | 516.000000 | 1.995300 | 1.904800 | 2.535400 | 3.352500 | 1.822400 |
13 rows × 39 columns
Obesrvation: We are able to get the information of MEAN, MEDIAN, STANDARD DEVIATION, MINIMUM & MAXIMUM VALUES OF ENTIRE DATA
X=df.head()
X
| Unnamed: 0 | ID | Salary | DOJ | DOL | Designation | JobCity | Gender | DOB | 10percentage | ... | ComputerScience | MechanicalEngg | ElectricalEngg | TelecomEngg | CivilEngg | conscientiousness | agreeableness | extraversion | nueroticism | openess_to_experience | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | train | 203097 | 420000 | 2012-06-01 | present | senior quality engineer | Bangalore | f | 1990-02-19 | 84.3 | ... | -1 | -1 | -1 | -1 | -1 | 0.9737 | 0.8128 | 0.5269 | 1.35490 | -0.4455 |
| 1 | train | 579905 | 500000 | 2013-09-01 | present | assistant manager | Indore | m | 1989-10-04 | 85.4 | ... | -1 | -1 | -1 | -1 | -1 | -0.7335 | 0.3789 | 1.2396 | -0.10760 | 0.8637 |
| 2 | train | 810601 | 325000 | 2014-06-01 | present | systems engineer | Chennai | f | 1992-08-03 | 85.0 | ... | -1 | -1 | -1 | -1 | -1 | 0.2718 | 1.7109 | 0.1637 | -0.86820 | 0.6721 |
| 3 | train | 267447 | 1100000 | 2011-07-01 | present | senior software engineer | Gurgaon | m | 1989-12-05 | 85.6 | ... | -1 | -1 | -1 | -1 | -1 | 0.0464 | 0.3448 | -0.3440 | -0.40780 | -0.9194 |
| 4 | train | 343523 | 200000 | 2014-03-01 | 2015-03-01 00:00:00 | get | Manesar | m | 1991-02-27 | 78.0 | ... | -1 | -1 | -1 | -1 | -1 | -0.8810 | -0.2793 | -1.0697 | 0.09163 | -0.1295 |
5 rows × 39 columns
OBSERVATION: There are 3 males & 2 females, where one of the male has highest Salary Package who is a SENIOR SOFTWARE ENGINEER.
Y=df.tail()
Y
| Unnamed: 0 | ID | Salary | DOJ | DOL | Designation | JobCity | Gender | DOB | 10percentage | ... | ComputerScience | MechanicalEngg | ElectricalEngg | TelecomEngg | CivilEngg | conscientiousness | agreeableness | extraversion | nueroticism | openess_to_experience | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3993 | train | 47916 | 280000 | 2011-10-01 | 2012-10-01 00:00:00 | software engineer | New Delhi | m | 1987-04-15 | 52.09 | ... | -1 | -1 | -1 | -1 | -1 | -0.1082 | 0.3448 | 0.2366 | 0.64980 | -0.9194 |
| 3994 | train | 752781 | 100000 | 2013-07-01 | 2013-07-01 00:00:00 | technical writer | Hyderabad | f | 1992-08-27 | 90.00 | ... | -1 | -1 | -1 | -1 | -1 | -0.3027 | 0.8784 | 0.9322 | 0.77980 | -0.0943 |
| 3995 | train | 355888 | 320000 | 2013-07-01 | present | associate software engineer | Bangalore | m | 1991-07-03 | 81.86 | ... | -1 | -1 | -1 | -1 | -1 | -1.5765 | -1.5273 | -1.5051 | -1.31840 | -0.7615 |
| 3996 | train | 947111 | 200000 | 2014-07-01 | 2015-01-01 00:00:00 | software developer | Asifabadbanglore | f | 1992-03-20 | 78.72 | ... | 438 | -1 | -1 | -1 | -1 | -0.1590 | 0.0459 | -0.4511 | -0.36120 | -0.0943 |
| 3997 | train | 324966 | 400000 | 2013-02-01 | present | senior systems engineer | Chennai | f | 1991-02-26 | 70.60 | ... | -1 | -1 | -1 | -1 | -1 | -1.1128 | -0.2793 | -0.6343 | 1.32553 | -0.6035 |
5 rows × 39 columns
Observation: There are 3 females & 2 males, where one of the female has highest Salary Package who is a SENIOR SYSTEMS ENGINEER.
sns.distplot(df['Salary'])
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2557: FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `histplot` (an axes-level function for histograms). warnings.warn(msg, FutureWarning)
<AxesSubplot:xlabel='Salary', ylabel='Density'>
sns.distplot(df['Salary'], kde = False, rug = True)
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2557: FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `histplot` (an axes-level function for histograms). warnings.warn(msg, FutureWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2056: FutureWarning: The `axis` variable is no longer used and will be removed. Instead, assign variables directly to `x` or `y`. warnings.warn(msg, FutureWarning)
<AxesSubplot:xlabel='Salary'>
sns.distplot(df['Salary'], kde = False, rug = False)
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2557: FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `histplot` (an axes-level function for histograms). warnings.warn(msg, FutureWarning)
<AxesSubplot:xlabel='Salary'>
sns.distplot(df['Salary'], kde = True, rug = False)
<AxesSubplot:xlabel='Salary', ylabel='Density'>
sns.distplot(df['Salary'], kde = True, rug = True)
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2557: FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `histplot` (an axes-level function for histograms). warnings.warn(msg, FutureWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2056: FutureWarning: The `axis` variable is no longer used and will be removed. Instead, assign variables directly to `x` or `y`. warnings.warn(msg, FutureWarning)
<AxesSubplot:xlabel='Salary', ylabel='Density'>
sns.distplot(df['collegeGPA'], kde = False, rug = True)
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2557: FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `histplot` (an axes-level function for histograms). warnings.warn(msg, FutureWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2056: FutureWarning: The `axis` variable is no longer used and will be removed. Instead, assign variables directly to `x` or `y`. warnings.warn(msg, FutureWarning)
<AxesSubplot:xlabel='collegeGPA'>
sns.distplot(df['Logical'], kde = False, rug = True)
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2557: FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `histplot` (an axes-level function for histograms). warnings.warn(msg, FutureWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\distributions.py:2056: FutureWarning: The `axis` variable is no longer used and will be removed. Instead, assign variables directly to `x` or `y`. warnings.warn(msg, FutureWarning)
<AxesSubplot:xlabel='Logical'>
Observation:
It's a figure-level function with a similar flexibility over the kind of plot to draw.
It's basically for univariant set of observations and visualizes it through a histogram i.e. only one observation and hence we choose one particular column of the dataset.
The plot shows a simple distribution when it creats a random values with random.randn().
sns.catplot(x = "Gender", y = "Salary", hue = "CollegeTier", kind = "point", data = df)
<seaborn.axisgrid.FacetGrid at 0x22a77282e80>
sns.catplot(x = "Gender", y = "Salary", hue = "Degree", kind = "point", data = df)
<seaborn.axisgrid.FacetGrid at 0x22a76dff130>
sns.catplot(x="collegeGPA", y="Salary", hue="Gender", markers=["^", "o"], linestyles=["-", "--"], kind="point", data = X)
<seaborn.axisgrid.FacetGrid at 0x22a7b3e2190>
sns.catplot(x="collegeGPA", y="Salary", hue="Gender", markers=["^", "o"], linestyles=["-", "--"], kind="point", data = Y)
<seaborn.axisgrid.FacetGrid at 0x22a7d05d640>
sns.catplot(x="collegeGPA", y="Salary", hue="Gender", markers=["^", "o"], linestyles=["-", "--"], kind="point", data=df)
<seaborn.axisgrid.FacetGrid at 0x22a7bcfe8e0>
sns.catplot(x="Degree", y="Salary", hue="Gender", markers=["^", "o"], linestyles=["-", "--"], kind="point", data = df)
<seaborn.axisgrid.FacetGrid at 0x22a7bd0d4f0>
Observation:
Point plots can be more useful than bar plots for focusing comparisons between different levels of one or more categorical variables.
They are particularly adept at showing interactions: how the relationship between levels of one categorical variable changes across levels of a second categorical variable. The lines that join each point from the same hue level allow interactions to be judged by differences in slope, which is easier for the eyes than comparing the heights of several groups of points or bars.
It is important to keep in mind that a point plot shows only the mean (or other estimator) value, but in many cases it may be more informative to show the distribution of values at each level of the categorical variables. In that case, other approaches such as a box or violin plot may be more appropriate.
sns.violinplot(x = df.CollegeTier, y = df.collegeGPA)
<AxesSubplot:xlabel='CollegeTier', ylabel='collegeGPA'>
sns.violinplot(x = df.Degree, y = df.collegeGPA)
<AxesSubplot:xlabel='Degree', ylabel='collegeGPA'>
sns.catplot(x= "Degree", y= "collegeGPA", hue= "Gender", kind= "violin", inner= "stick", split=True, palette="pastel", data= df)
<seaborn.axisgrid.FacetGrid at 0x22a7d2508e0>
sns.catplot(x = "Degree", y = "collegeGPA", hue = "Gender", kind = "violin", split = True, data = df)
<seaborn.axisgrid.FacetGrid at 0x22a05098190>
sns.catplot(x = "collegeGPA", y = "Degree", hue = "Gender", kind = "violin", bw = .15, cut = 0, data = df)
<seaborn.axisgrid.FacetGrid at 0x22a0588eaf0>
sns.catplot(x = "Degree", y = "collegeGPA", hue = "Gender", kind = "violin", data = df)
<seaborn.axisgrid.FacetGrid at 0x22a05884f10>
sns.catplot(x = "Degree", y = "Salary", kind = "boxen", data = df.sort_values("collegeGPA"))
<seaborn.axisgrid.FacetGrid at 0x22a059fbd30>
sns.catplot(x = "Degree", y = "Salary", hue = "Gender", kind = "box", data = df)
<seaborn.axisgrid.FacetGrid at 0x22a05939cd0>
Observation:
The white dot represents the median, the thick gray bar in the center represents the interquartile range, the thin gray line represents the rest of the distribution, except for points that are determined to be “outliers” using a method that is a function of the interquartile range.
Violin plot are made vertically most of the time, If you have long labels building an horizontal version{Output[22]} like above make the labels more readable.
If the variable are grouped, we can build a grouped violin as you would do for a boxplot.
sns.boxplot(data = X, x='Specialization', y='Salary')
<AxesSubplot:xlabel='Specialization', ylabel='Salary'>
sns.boxplot(data = df, x = 'Specialization', y = 'Salary')
<AxesSubplot:xlabel='Specialization', ylabel='Salary'>
sns.boxplot(data = df, x = 'Designation', y = 'Salary')
<AxesSubplot:xlabel='Designation', ylabel='Salary'>
sns.boxplot(data = df, x = 'GraduationYear', y = 'Salary')
<AxesSubplot:xlabel='GraduationYear', ylabel='Salary'>
sns.boxplot(data = df, x = 'CollegeTier', y = 'Salary')
<AxesSubplot:xlabel='CollegeTier', ylabel='Salary'>
sns.boxplot(data = df, x = 'CollegeTier', y = 'Degree')
<AxesSubplot:xlabel='CollegeTier', ylabel='Degree'>
sns.boxplot(data = X, x = 'collegeGPA', y = 'Designation')
<AxesSubplot:xlabel='collegeGPA', ylabel='Designation'>
sns.boxplot(data = df, x = 'Degree', y = 'Salary')
<AxesSubplot:xlabel='Degree', ylabel='Salary'>
sns.boxplot(data = X, x = 'Salary', y = 'Designation', hue = 'Specialization')
<AxesSubplot:xlabel='Salary', ylabel='Designation'>
sns.boxplot(data = Y, x = 'Specialization', y = 'Salary', hue = 'Designation')
<AxesSubplot:xlabel='Specialization', ylabel='Salary'>
sns.catplot(x = "English", y = "Logical", kind = "boxen", data = df.sort_values("Gender"))
<seaborn.axisgrid.FacetGrid at 0x22a06e06130>
plt.boxplot(df['Salary'])
plt.show()
plt.boxplot(df['collegeGPA'])
plt.show()
An outlier is an observation that is numerically distant from the rest of the data. Box plots are useful as they show outliers within a data set. When reviewing a box plot, an outlier is defined as a data point that is located outside the whiskers of the box plot.
Comparision of the medians, the interquartile ranges and whiskers of box plots.
Gives the potential outliers and signs of Skewness.
sns.catplot(x = "Gender", y = "Salary", order = ["m", "f"], data = df)
<seaborn.axisgrid.FacetGrid at 0x22a08e95160>
sns.catplot(x = "English", y = "Quant", hue = "Gender", kind = "swarm", data = df)
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 20.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 50.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 42.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 33.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 25.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 38.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 63.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 61.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 66.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 35.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 60.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 58.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 60.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 46.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 70.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 77.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 40.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 56.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 72.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 67.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 42.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 79.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 18.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 82.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 85.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 78.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 58.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 73.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 66.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 56.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 81.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 83.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 28.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 80.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 64.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 66.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 57.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 57.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 55.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 78.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 74.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 62.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 60.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 53.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 51.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 56.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 37.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 31.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 47.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 23.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 23.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning)
<seaborn.axisgrid.FacetGrid at 0x22a0ada15e0>
sns.catplot(x = "GraduationYear", y = "collegeGPA", data = df)
sns.swarmplot(data = df, x = 'Specialization', y = 'Salary')
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 96.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 97.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 97.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 97.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 91.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 93.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 90.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 60.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 94.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 84.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 55.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 77.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 72.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 20.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 40.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 70.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 73.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 33.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 46.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 66.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 25.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 50.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning)
<AxesSubplot:xlabel='Specialization', ylabel='Salary'>
sns.catplot(x = "Degree", y = "Salary", hue = "Gender", kind = "swarm", data = df)
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 95.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 61.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning)
<seaborn.axisgrid.FacetGrid at 0x22a0ae6bb80>
sns.swarmplot(data = df, x = 'Domain', y = 'English')
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 92.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 40.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 63.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 38.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 61.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 25.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 47.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 33.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 50.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 74.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 20.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 47.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 14.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 11.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 67.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 54.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 81.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 80.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 35.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 16.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 22.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 66.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 36.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 64.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 83.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 57.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 53.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 37.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 46.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 85.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 82.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 67.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 80.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 26.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 77.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 86.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 72.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 78.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 42.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 12.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 76.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 67.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 72.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 78.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 30.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 44.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 77.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 76.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 47.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 72.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 70.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 64.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 57.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 63.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 53.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 28.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 45.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 54.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 35.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 41.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning)
<AxesSubplot:xlabel='Domain', ylabel='English'>
sns.swarmplot(data = df, x = 'Salary', y = 'Domain')
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 25.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 40.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 53.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 42.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 27.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 16.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 45.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 63.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 85.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 79.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 46.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 95.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 33.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 38.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 56.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 79.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 87.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 20.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 54.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 52.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 95.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 60.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 41.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 92.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 69.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 64.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 67.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 92.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 14.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 38.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 52.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 73.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 43.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 96.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 74.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 83.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 85.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 93.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 77.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 78.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 76.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 91.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 84.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 36.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 55.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 63.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 58.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 90.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 69.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 59.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 52.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 81.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 56.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 60.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 62.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 59.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 50.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 81.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 23.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 28.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning)
<AxesSubplot:xlabel='Salary', ylabel='Domain'>
sns.swarmplot(data = df, x = 'Salary', y = 'Domain')
c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 25.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 40.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 53.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 42.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 27.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 16.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 45.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 63.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 85.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 79.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 46.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 95.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 33.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 38.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 56.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 79.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 87.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 20.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 54.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 52.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 95.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 60.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 41.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 92.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 69.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 64.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 67.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 92.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 14.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 38.9% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 52.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 73.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 43.8% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 96.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 74.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 83.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 75.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 85.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 93.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 77.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 78.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 76.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 91.2% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 84.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 36.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 55.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 68.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 63.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 58.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 90.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 69.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 59.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 52.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 81.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 56.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 60.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 62.5% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 59.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 50.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 81.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 23.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 28.6% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 71.4% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning) c:\users\personal\appdata\local\programs\python\python39\lib\site-packages\seaborn\categorical.py:1296: UserWarning: 65.7% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot. warnings.warn(msg, UserWarning)
<AxesSubplot:xlabel='Salary', ylabel='Domain'>
Observation:
It can give a better representation of the distribution of observations, although it only works well for relatively small datasets.
Enlarging the plot and Separate points by hue using the argument split = True.
Place the legend to the right while Adjusting the y-axis limits to end at 0.
sns.jointplot(x = 'Salary', y = 'collegeGPA', data = df, kind = 'scatter')
<seaborn.axisgrid.JointGrid at 0x22a10a87c70>
sns.jointplot(x = 'collegeGPA', y = 'Salary', data = df, kind = 'scatter')
<seaborn.axisgrid.JointGrid at 0x22a10e690d0>
sns.jointplot(x = 'English', y = 'Logical', data = df, kind = 'scatter')
<seaborn.axisgrid.JointGrid at 0x22a112bb370>
sns.jointplot(x = 'English', y = 'collegeGPA', data = df, kind = 'scatter')
<seaborn.axisgrid.JointGrid at 0x22a1154c250>
sns.jointplot(x='Logical', y='Quant', data=df, kind = 'scatter')
<seaborn.axisgrid.JointGrid at 0x22a117f8f70>
plt.scatter(df['Salary'], df['collegeGPA'])
plt.show()
plt.scatter(df['Salary'], df['Specialization'])
plt.show()
plt.scatter(df['Gender'], df['Salary'])
plt.show()
plt.scatter(df['English'], df['Domain'])
plt.show()
plt.scatter(df['Quant'], df['Logical'])
plt.show()
plt.scatter(df['Degree'], df['CollegeState'])
plt.show()
plt.scatter(df['Degree'], df['CollegeTier'])
plt.show()
plt.scatter(df['collegeGPA'], df['Gender'])
plt.show()
Pairs of numerical figures are present.
Dependent variables have multiple values for each figure associated with the independent variable.
Defining if there is a relationship between two variables and only show correlation.
Discrete data is best at pass/ fail measurements, Continuous data lets you measure things deeply on an infinite set and is generally used in scatter analysis.
From the output, you can see that a joint plot has three parts.
A distribution plot at the top for the column on the x-axis, a distribution plot on the right for the column on the y-axis and a scatter plot in between that shows the mutual distribution of data for both the columns.
You can see that there is no correlation observed between the x, y variables as given in the input.
You can change the type of the joint plot by passing a value for the kind parameter.
sns.jointplot(x = 'collegeGPA', y = 'Salary', data = df, kind = 'hex', color = 'k')
<seaborn.axisgrid.JointGrid at 0x22a11cfda90>
sns.jointplot(x = 'English', y = 'Quant', data = df, kind = 'hex', color = 'b')
<seaborn.axisgrid.JointGrid at 0x22a0c3596d0>
sns.jointplot(x = 'CollegeTier', y = 'Domain', data = X, kind = 'hex', color = 'b')
<seaborn.axisgrid.JointGrid at 0x22a11d58760>
sns.jointplot(x = 'Quant', y = 'Logical', data = df, kind = 'hex', color = 'b')
<seaborn.axisgrid.JointGrid at 0x22a11ba10d0>
sns.jointplot(x = 'CollegeID', y = 'Salary', data = df, kind = 'hex', color = 'b')
<seaborn.axisgrid.JointGrid at 0x22a121e8220>
Observation:
Instead of overlapping, the plotting window is split in several hexbins, and the number of points per hexbin is counted.
The color denotes this number of points.
The size of the hexagons changes - the scale of the color bar guide is redefined accordingly and We can change the size of the bins using the gridsize argument.
We get a clear picture of density, distributions, and relative ranges, similar to a heat map.
The shape of the hexagon allows us to limit the effects of edge biases found in square bins, while retaining the ability to form a continuous grid.
sns.pairplot(df)
<seaborn.axisgrid.PairGrid at 0x22a121df700>
sns.pairplot(X)
<seaborn.axisgrid.PairGrid at 0x22a2889a520>
sns.pairplot(Y)
<seaborn.axisgrid.PairGrid at 0x22a58836e80>
Observation:
Pairs plots are a powerful tool to quickly explore distributions and relationships in a dataset.
The diagonal plots are kernel density plots where the other plots are scatter plots.
sns.stripplot(data = df, x = 'Salary', y ='collegeGPA')
<AxesSubplot:xlabel='Salary', ylabel='collegeGPA'>
sns.stripplot(data = df, x = 'Specialization', y = 'Logical')
<AxesSubplot:xlabel='Specialization', ylabel='Logical'>
sns.stripplot(data = df, x = 'CollegeTier', y='Specialization')
<AxesSubplot:xlabel='CollegeTier', ylabel='Specialization'>
sns.stripplot(data = df, x = 'English', y='Domain')
<AxesSubplot:xlabel='English', ylabel='Domain'>
sns.stripplot(data = df, x = 'Logical', y='Quant')
<AxesSubplot:xlabel='Logical', ylabel='Quant'>
Observation:
Some things to keep an eye out for when looking at data on a numeric variable: (a) Skewness and Multimodality can be seen, but other visualizations show these more clearly. (b) Gaps and Outliers can be revealed and data outside of the expected range. (c) rounding, e.g. to integer values, or heaping, i.e. a few particular values occur very frequently. (d) impossible or suspicious values.
Scalability in this form is limited due to over-plotting and can display up to 30,000 data points.
With a good combination of point size choice, jittering, and alpha blending the strip plot for groups of data can scale to several hundred thousand observations and ten to twenty of groups.
Storage needed for vector graphics images grows linearly with the number of observations.
sns.barplot(x = 'Gender', y = 'Salary', data = df)
<AxesSubplot:xlabel='Gender', ylabel='Salary'>
sns.barplot(x = 'collegeGPA', y = 'Degree', data = df)
<AxesSubplot:xlabel='collegeGPA', ylabel='Degree'>
sns.barplot(x = 'Salary', y = 'collegeGPA', hue = 'Degree', data = df)
<AxesSubplot:xlabel='Salary', ylabel='collegeGPA'>
sns.barplot(x = 'CollegeTier', y = 'collegeGPA', hue = 'Degree', data = df)
<AxesSubplot:xlabel='CollegeTier', ylabel='collegeGPA'>
sns.barplot(x = 'English', y = 'Degree', hue = 'Gender', data = df)
<AxesSubplot:xlabel='English', ylabel='Degree'>
Observation:
They are created to show data in multiple, highly visual waysTo interpret the length of the bars/columns determines the value as described on the y-axis.
Bar graphs have an x- and y-axis and can be used to showcase one, two, or many categories of data where Single and dual bar charts are practised using them to represent data to show the total size of groups.
Shows how the proportions between groups related to each other, in addition to the total of each group.
The columns can contain multiple labeled variables (or just one), or they can be grouped together (or not) for comparative purposes.
sns.countplot(x = 'Salary', data = df, palette = 'rainbow')
<AxesSubplot:xlabel='Salary', ylabel='count'>
sns.countplot(x = 'Salary', data = X, palette = 'rainbow')
<AxesSubplot:xlabel='Salary', ylabel='count'>
sns.countplot(x = 'CollegeTier', data = df, palette = 'gist_earth')
<AxesSubplot:xlabel='CollegeTier', ylabel='count'>
sns.countplot(x = 'English', data = df, palette = 'autumn')
<AxesSubplot:xlabel='English', ylabel='count'>
sns.countplot(x= 'Gender', data = df, palette = 'Paired')
<AxesSubplot:xlabel='Gender', ylabel='count'>
sns.countplot(x = 'JobCity', data = Y, palette ='twilight')
<AxesSubplot:xlabel='JobCity', ylabel='count'>
sns.countplot(x = 'collegeGPA', data = X, palette = 'cubehelix')
<AxesSubplot:xlabel='collegeGPA', ylabel='count'>
sns.countplot(x = 'Degree', data = df, palette = 'Purples')
<AxesSubplot:xlabel='Degree', ylabel='count'>
sns.countplot(x = 'Designation', data = Y, palette = 'cubehelix')
<AxesSubplot:xlabel='Designation', ylabel='count'>
Observation:
Vectors of data represented as lists, numpy arrays, or pandas Series objects passed directly to the x, y, and/or hue parameters.
In most cases, it is possible to use numpy or Python objects, but pandas objects are preferable because the associated names will be used to annotate the axes. Additionally, we can use Categorical types for the grouping variables to control the order of plot elements.
A "long-form" DataFrame, in which case the x, y, and hue variables will determine how the data are plotted.
A “wide-form” DataFrame, such that each numeric column will be plotted.
plt.hist(df['Salary'])
plt.show()
plt.hist(df['Designation'])
plt.show()
plt.hist(df['Gender'])
plt.show()
plt.hist(df['Specialization'])
plt.show()
plt.hist(df['Degree'])
plt.show()
Observation:
Creating a histogram provides a visual representation of data distribution.
Histograms can display a large amount of data and the frequency of the data values where the median and distribution of the data can be determined. In addition, it can show any outliers or gaps in the data.
To select a "neat" number of bins and "neat" mid-point values for the data. You may over-ride this selection and set your own bin specifications when prompted.
px.pie(df, names = 'Degree', values = 'collegeGPA')
px.pie(df, names = 'GraduationYear', values = 'English')
px.pie(df, names = 'Specialization', values = 'CollegeTier')
px.pie(df, names = 'Gender', values = 'GraduationYear')
Observation:
When you interpret one pie chart, we get the differences in the size of the slices as per the data taken.
The size of a slice shows the proportion of observations that are in that group.
When you compare multiple pie charts, we get the differences in the size of slices for the same categories in all the pie charts.
corr = df.corr(method = 'kendall')
plt.figure(figsize = (15,8))
sns.heatmap(corr, annot = True)
df.columns
Index(['Unnamed: 0', 'ID', 'Salary', 'DOJ', 'DOL', 'Designation', 'JobCity',
'Gender', 'DOB', '10percentage', '10board', '12graduation',
'12percentage', '12board', 'CollegeID', 'CollegeTier', 'Degree',
'Specialization', 'collegeGPA', 'CollegeCityID', 'CollegeCityTier',
'CollegeState', 'GraduationYear', 'English', 'Logical', 'Quant',
'Domain', 'ComputerProgramming', 'ElectronicsAndSemicon',
'ComputerScience', 'MechanicalEngg', 'ElectricalEngg', 'TelecomEngg',
'CivilEngg', 'conscientiousness', 'agreeableness', 'extraversion',
'nueroticism', 'openess_to_experience'],
dtype='object')
Observation:
Feature-expression heat maps provide insight into complex associations.
It utilizes effect ordered data display on two variable sets.
Its applications are found in complex biological systems.
Effect size (color) and statistical significance (radius) are depicted in circles.